import { Types, defineComponent, type IWorld, type Entity } from '$lib/ecs';

export const Handling = defineComponent('Handling', {
  amount: Types.i32,
});

export const getHandling = (world: IWorld, e: Entity) => {
  return Handling.amount[e];
};
